package com.nd.qa.shareplate.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.nd.qa.shareplate.IDao.ShareMessageMapper;
import com.nd.qa.shareplate.model.ShareMessage;
import com.nd.qa.shareplate.service.ShareMessageService;

@Service("com.nd.qa.shareplate.service.ShareMessageService")
public class ShareMessageServiceImpl implements ShareMessageService {

	@Autowired
	private ShareMessageMapper smsgMapper;
	
	@Override
	public void insertMessage(ShareMessage shareMessage) {
		smsgMapper.insertMessage(shareMessage);
	}

	@Override
	public ShareMessage queryMsgInfo(ShareMessage shareMessage) {
		return smsgMapper.queryMsgInfo(shareMessage);
	}

}
